package com.web.exiaodao.business.service;

import com.web.exiaodao.business.entity.User;
import com.web.exiaodao.remote.vo.UserVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface UserService extends BaseServiceInterFace<User>{
    /**
     * 分页查询状态非status的数据
     * @param status
     * @param filterParams
     * @param pageable
     * @return 返回对象集合
     * @throws BusinessException
     */
    public XaResult<Page<UserVo>> findListNEStatusByFilterByPage(Integer status, Map<String, Object> filterParams,
                                                           Pageable pageable) throws BusinessException;
}
